//改变时间格式
Handlebars.registerHelper("transdate", function(str,options) {
    var date = new Date(str);
    var year = date.getFullYear();
    var month = date.getMonth();
    var day = date.getDate();
    var hour = date.getHours();
    var minute = date.getMinutes();
    var second = date.getSeconds();
    return year+"年"+month+"月"+day+"日 "+hour+":"+minute+":"+second;
});